//
//  YYShowMessageCell.m
//  Xanthium
//
//  Created by yangyongMac on 2018/7/9.
//  Copyright © 2018年 GuanQinghao. All rights reserved.
//

#import "YYShowMessageCell.h"

@implementation YYShowMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setShowCount:(NSString *)showCount
{
    _showCount = showCount;

    self.badgeCount.text = showCount;
    
    if (showCount.integerValue == 0)
    {
        self.badgeCount.hidden = YES;
    }
    else
    {
        self.badgeCount.hidden = NO;
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
